home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / OpenGL / glindex.z / glindex
Encoding:
Text File  |  2001-04-17  |  4.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ggggllllIIIInnnnddddeeeexxxx((((3333GGGG))))                    OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                    ggggllllIIIInnnnddddeeeexxxx((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllIIIInnnnddddeeeexxxxdddd,,,, ggggllllIIIInnnnddddeeeexxxxffff,,,, ggggllllIIIInnnnddddeeeexxxxiiii,,,, ggggllllIIIInnnnddddeeeexxxxssss,,,, ggggllllIIIInnnnddddeeeexxxxuuuubbbb,,,, ggggllllIIIInnnnddddeeeexxxxddddvvvv,,,, ggggllllIIIInnnnddddeeeexxxxffffvvvv,,,,
  10.      ggggllllIIIInnnnddddeeeexxxxiiiivvvv,,,, ggggllllIIIInnnnddddeeeexxxxssssvvvv,,,, ggggllllIIIInnnnddddeeeexxxxuuuubbbbvvvv - set the current color index
  11.  
  12.  
  13. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  14.      void ggggllllIIIInnnnddddeeeexxxxdddd( GLdouble _c )
  15.      void ggggllllIIIInnnnddddeeeexxxxffff( GLfloat _c )
  16.      void ggggllllIIIInnnnddddeeeexxxxiiii( GLint _c )
  17.      void ggggllllIIIInnnnddddeeeexxxxssss( GLshort _c )
  18.      void ggggllllIIIInnnnddddeeeexxxxuuuubbbb( GLubyte _c )
  19.  
  20.  
  21. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  22.      _c  Specifies the new value for the current color index.
  23.  
  24. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  25.      void ggggllllIIIInnnnddddeeeexxxxddddvvvv( const GLdouble *_c )
  26.      void ggggllllIIIInnnnddddeeeexxxxffffvvvv( const GLfloat *_c )
  27.      void ggggllllIIIInnnnddddeeeexxxxiiiivvvv( const GLint *_c )
  28.      void ggggllllIIIInnnnddddeeeexxxxssssvvvv( const GLshort *_c )
  29.      void ggggllllIIIInnnnddddeeeexxxxuuuubbbbvvvv( const GLubyte *_c )
  30.  
  31.  
  32. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  33.      _c    Specifies a pointer to a one-element array that contains the new
  34.           value for the current color index.
  35.  
  36. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  37.      ggggllllIIIInnnnddddeeeexxxx updates the current (single-valued) color index.  It takes one
  38.      argument, the new value for the current color index.
  39.  
  40.      The current index is stored as a floating-point value. Integer values are
  41.      converted directly to floating-point values, with no special mapping.
  42.      The initial value is 1.
  43.  
  44.      Index values outside the representable range of the color index buffer
  45.      are not clamped.  However, before an index is dithered (if enabled) and
  46.      written to the frame buffer, it is converted to fixed-point format.  Any
  47.      bits in the integer portion of the resulting fixed-point value that do
  48.      not correspond to bits in the frame buffer are masked out.
  49.  
  50. NNNNOOOOTTTTEEEESSSS
  51.      ggggllllIIIInnnnddddeeeexxxxuuuubbbb and ggggllllIIIInnnnddddeeeexxxxuuuubbbbvvvv are available only if the GL version is 1.1 or
  52.      greater.
  53.  
  54.      The current index can be updated at any time.  In particular, ggggllllIIIInnnnddddeeeexxxx can
  55.      be called between a call to ggggllllBBBBeeeeggggiiiinnnn and the corresponding call to ggggllllEEEEnnnndddd.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ggggllllIIIInnnnddddeeeexxxx((((3333GGGG))))                    OOOOppppeeeennnnGGGGLLLL RRRReeeeffffeeeerrrreeeennnncccceeee                    ggggllllIIIInnnnddddeeeexxxx((((3333GGGG))))
  71.  
  72.  
  73.  
  74. ASSOCIATED GETS
  75.      ggggllllGGGGeeeetttt with argument GGGGLLLL____CCCCUUUURRRRRRRREEEENNNNTTTT____IIIINNNNDDDDEEEEXXXX
  76.  
  77.  
  78. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  79.      ggggllllCCCCoooolllloooorrrr, ggggllllIIIInnnnddddeeeexxxxPPPPooooiiiinnnntttteeeerrrr
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.